package com.pureut.storage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pureut.storage.domain.PickingSale;
import com.pureut.storage.dto.AndroidHandoverPdaDto;
import com.pureut.storage.dto.AndroidPdaDto;
import com.pureut.storage.dto.GetPdaDto;
import com.pureut.storage.dto.PickingSaleDto;
import com.pureut.storage.export.PickingSaleExport;
import com.pureut.storage.vo.PickingSaleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 销售发货mapper
 * @author: CM
 * @date: 2022/12/27    14:54
 */
@Mapper
public interface PickingSaleMapper extends BaseMapper<PickingSale> {

    /**
     * 销售发货列表查询
     * @param pickingSaleVo
     * @return
     */
    List<PickingSaleDto> getPickingSaleList(PickingSaleVo pickingSaleVo);

    /**
     * 销售发货查看
     * @param id
     * @return
     */
    PickingSaleDto getPickingSaleById(@Param("id") Long id);

    List<GetPdaDto> getPickingSaleListPda(PickingSaleVo pickingSaleVo);

    /**
     * 交接列表
     * @param deptId
     * @return
     */
    List<AndroidHandoverPdaDto> getAndroidHandoverList(Long deptId);

    AndroidHandoverPdaDto getAndroidHandoverView(Long id);

    List<AndroidPdaDto> getMiscellaneousAndroidpickCancellationList(Long deptId);

    /**
     * 销售发货导出
     * @param pickingSaleVo
     * @return
     */
    List<PickingSaleExport> getInfoExport(PickingSaleVo pickingSaleVo);
}
